package com.guys8.cemsbackend.DTO;

import com.guys8.cemsbackend.entity.Class;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class Class_health_nacid {

    private Integer classid;
    private String name;
    //0++学生
    private List<User_health_nacid> users;

    public Class_health_nacid(){}

    public Class_health_nacid(Class classs, List<User_health_nacid> users) {
        setClassid(classs.getClassId());
        setName(classs.getClassName());
        setUsers(users);
    }

}
